/**
 * 
 */
package org.softTank.BcpModel;

import javax.xml.namespace.QName;

/**
 * @author Yuzone
 * 
 */
public class BcpQName {

	private String localPart;
	private String ns;
	private String prefix;

	public BcpQName() {
	}

	public BcpQName(String nameSpace, String name) {
		this.localPart = name;
		this.ns = nameSpace;
	}

	public BcpQName(QName name) {
		this.localPart = name.getLocalPart();
		this.ns = name.getNamespaceURI();
		this.prefix = name.getPrefix();
	}

	public String getLocalPart() {
		return localPart;
	}

	public void setLocalPart(String localPart) {
		this.localPart = localPart;
	}

	public String getNs() {
		return ns;
	}

	public void setNs(String ns) {
		this.ns = ns;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
}
